[@@split]
open override fun [@@split](string: String, limit: Int = definedExternally): ReadonlyArray<ERROR CLASS: Symbol not found for JsString>(source)
Returns an array of substrings that were delimited by strings in the original input that match against this regular expression.
If the regular expression contains capturing parentheses, then each time this regular expression matches, the results (including any undefined results) of the capturing parentheses are spliced.
Parameters
string
string value to split
limit
if not undefined, the output array is truncated so that it contains no more than 'limit' elements.